<!DOCTYPE html>
<html lang="en">
<head>
    {% load static %}
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="{% static 'css/register.css' %}">
</head>
<body>
<body background="{% static 'img/wallpaper.jpg' %}" style="background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">
<form action="/login/" method="post">
    {% csrf_token %}
    <h1>登录</h1>
    <p>学生学号/管理员账号：<input type="text" name="id" placeholder="学号/账号" required></p>
    <p></p>
    <p>密码：<input type="password" name="pwd" placeholder="密码" required></p>
    <p>管理员 <input type="radio" name="identity" value="管理员" required>
        学生 <input type="radio" name="identity" value="学生" required></p>
    <p style="font-size: 20px; color: red; padding-left: 60px">
    {% if err %}
        {{ err }}
    {% endif %}
    </p>
    <p><input type="submit" value="登录"></p>
    <a href="/phoneLogin">手机号登录！</a>
    <a href="/register">没有账号？请注册</a>

</form>

    <p style = "position: fixed; right: 0; bottom: 0; margin: 20px; font-size: 8px">
        <a href="https://moapyr.fandom.com/zh/wiki/%E5%BF%83%E7%81%B5%E7%BB%88%E7%BB%93%E4%B8%AD%E6%96%87_Wiki">这是什么？点一下</a>
    </p>
</body>
</html>